package com.honvay.cola.cloud.construction.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 工种
 * </p>
 *
 * @author stonihiy
 * @since 2018-10-11
 */
@Data
@Accessors(chain = true)
@TableName("s_work_type")
public class WorkType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 工种名称
     */
    private String name;

    /**
     * 工程类型ID  外键
     */
    @TableField("fk_project_type_id")
    private Long fkProjectTypeId;



}
